package com.nick.core.common;

import java.util.UUID;

/**
 * 系统常量
 */
public interface Constant {
    String STRING_0 = "0";
    String STRING_1 = "1";
    Integer INTEGER_0 = 0;
    Integer INTEGER_1 = 1;

    /**
     * JWT_ID
     **/
    String JWT_ID = UUID.randomUUID().toString();
    /**
     * JWT签发秘钥
     **/
    String JWT_SECRET = "53EDAAD946D34F6D81D7BF4E5E62AD85";

    /**
     * JWT过期时间,毫秒,24小时
     **/
    long JWT_TTL = 60 * 60 * 1000 * 24;
}
